package inheritance;

public class GrandFather {

	// 필드 - 없음
	
	// 생성자
	public GrandFather() {
		System.out.println("I'm a Grand Father!");
	}
	
	public void sayGrandNumber() {
		System.out.println("sayGrandNumber() 호출");
		for (int i = 0; i < 10; i++) {
			System.out.print(i + " ");
		}
		System.out.println();
	}
	
}
